home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / Demos_Files / OnDemoButton.nsm < prev    next >
Encoding:
Text File  |  2002-03-08  |  730 b   |  19 lines

  1. activeBreadboard. selectKind ( "TextBoxEngine", FALSE )
  2. activeBreadboard. unselect ( titleTextBox )
  3. activeBreadboard. unselect ( descriptionTextBox )
  4. activeBreadboard. unselect ( descriptionTitleTextBox )
  5. activeSelection. setBorderType ( 5 )
  6. activeSelection. setColor ( 0 , 0 , 255 )
  7. activeBreadboard. select ( NULL, FALSE )
  8.  
  9. CurrentDemo = macro. owner ( )
  10. CurrentDemo. setBorderType ( 10 )
  11. CurrentDemo. setColor ( 255 , 0 , 0 )
  12.  
  13. CurrentDemo. setName ( "activeDemo" )
  14. descriptionPath = macro. pathFromMacro ( "DemoDescriptions.txt" )
  15. descriptionTextBox. setName ( CurrentDemo )
  16. CurrentDemo. setTextFromFile( descriptionPath , 1 )
  17. CurrentDemo. setName ( "descriptionTextBox" )
  18. activeDemo. setName ( CurrentDemo )
  19.